// 给action注册事件处理函数。当这个函数被触发时候，将状态提交到mutations中处理

export function init({commit}, name) {
    return commit ('init', name)
}
export function id({commit}, name) {
    return commit ('id', name)
}
export function patientName({commit}, name) {
    return commit('patientName', name)
}
export function patientSex({commit}, name) {
    return commit('patientSex', name)
}
export function patientCondition({commit}, name) {
    return commit('patientCondition', name)
}
export function logout({commit}, name) {
    return commit ('logout', name)
}
export function slideinfo({commit}, name) {
    return commit ('slideinfo', name)
}
export function slide({commit}, name) {
    return commit ('slide', name)
}
export function singsData({ commit }, name) {
  return commit('singsData', name)
}
export function stateData({ commit }, name) {
  return commit('stateData', name)
}
export function comparedData({ commit }, name) {
  return commit('comparedData', name)
}
export function indexList({ commit }, name) {
  return commit('indexList', name)
}
export function flags({ commit }, name) {
  return commit('flags', name)
}
export function isCollapse({ commit }, name) {
  return commit('isCollapse', name)
}
